package org.dtrd.modules.dict.entity.bean;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.modules.dict.entity.po.DtrdEntRdDicBank;

/**
 * <p>
 * 
 * </p>
 *
 * @author QR
 * @since 2021-12-13
 */
@Getter
@Setter
@ApiModel(value = "详情")
public class BankInfoDetail {

    private Integer dataId;

    private String bankName;

    private String bankDescription;

    private String bankImg;

    private String bankIcon;



    public BankInfoDetail parseFromPo(DtrdEntRdDicBank po) {
        dataId = po.getDataId();
        bankName = po.getBankName();
        bankDescription = po.getBankDescription();
        bankImg = po.getBankImg();
        bankIcon = po.getBankIcon();
        return this;
    }
}
